import { post, get } from "utils/fetch";

// 查询应用
export const getAppList = (data) =>
  get("/flow-platform/catalogue/listCatalogue", data);
export const getAppListAll = (data) => post("/flow-platform/app/listAll", data);
export const appSwitch = (data) => post("/flow-platform/app/switch", data);

// 查询租户列表
export const getTenantList = (data) =>
  get("/flow-platform/catalogue/listRootCatalogue", data);
